function showdetails(id) {
	var el = document.getElementById('image-details-div-'+id);
	
	if (el.style.visibility == 'hidden') {
		el.style.visibility = 'visible';
	}
	else {
		el.style.visibility = 'hidden';
	}
}